#include <stdio.h>

void bypointer(char* abc){
	abc="bypointer change";
	printf("%s\n",abc);
}

void byref(char** abc){
	*abc="byref change";
	printf("%s\n",*abc);
}

int main(){
	char abc[]="hello";
	char * pc=abc;
	printf("%ld,%ld,%ld\n",(long)abc,(long)pc,(long)(&pc));
	bypointer(pc);
	printf("after bypointer %s\n",pc);
	
	byref(&pc);
	printf("after byref %s\n",pc);
}